package com.jeff.serviceImpl;

import com.jeff.mapper.FormMapper;
import com.jeff.mapper.FormThMapper;
import com.jeff.po.Form;
import com.jeff.po.FormTh;
import com.jeff.service.FormService;
import com.jeff.service.FormThService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FormThServiceImpl extends BaseServiceImpl<FormTh, String> implements FormThService {
    @Autowired
    private FormThMapper formThMapper;

    @Autowired
    public void setBaseMapper() {
        super.setBaseMapper(formThMapper);
    }

    @Override
    public int batchFormTh(List<FormTh> formthes) {
        return formThMapper.batchFormTh(formthes);
    }
}
